package cn.zmwh.im.server.modules.message.pojo.entity;

import cn.zmwh.im.common.pojo.dto.transfer.Message;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 群消息
 * </p>
 *
 * @author dmzmwh
 * @since 2025-06-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ImMessage对象", description = "群消息")
public class ImMessage extends Message {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long uid;

    @ApiModelProperty(value = "接收用户id")
    private Long recvId;


}
